//
//  NSDateComponents+Compare.h
//
//  Created by zhaol on 10/14/15.
//  Copyright © 2015 zify. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface  NSDateComponents(Compare)

+ (instancetype)componentsWithDate:(NSDate*)date;

/**
 判断是否是同一天

 @param comps 比较的日期组件

 @return yesOrNo
 */
- (BOOL)isSameDay:(NSDateComponents*)comps;

@end
